<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?292efe97106fdb58def94ecbe3ee5da5";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script charset="UTF-8" id="LA_COLLECT" src="https://cdn-js.gz.bcebos.com/js-sdk-pro.min.js"></script>
<script>LA.init({id:"3FpzAq25bx5clMTo",ck:"3FpzAq25bx5clMTo"})</script>
<script>
// 获取当前 URL
const url = window.location.href;

// 判断 URL 是否包含 "TG"
if (!url.includes("TG")) {
    // URL 不包含 "TG"，延迟 200ms 后跳转到 501.php
    setTimeout(function() {
        window.location.href = "/501.php";
    }, 200);
} else {
    // URL 包含 "TG"，直接在页面上显示 500 错误
    document.write("<h1>500 Internal Server Error</h1><p>服务器500错误</p>");
    console.error("500 Internal Server Error");
}
</script>